package com.itheima.service;

import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Role;

import java.util.List;

public interface RoleService {
    Result save(Role role);

    Result findPage(QueryPageBean queryPageBean);

    List<Role> findAll();

    Result add(Role role);

    Result findById(Integer id);

    Result update(Role role);

    Result delete(Integer id);
}
